﻿@model RomaClient.Models.PMStartModel

<table>
    <tr>
        <th>
            message
        </th>
        <th>
            modifiedDate
        </th>
        <th>
            receiver
        </th>
        <th>
            sender
        </th>
        <th>
            sender_id
        </th>
        <th>
            timesent
        </th>
        <th>
            timesentSpecified
        </th>
        <th>
            title
        </th>
        <th></th>
    </tr>

@foreach (var item in Model.receviedMessages) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.message)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.modifiedDate)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.receiver)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.sender)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.sender_id)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.timesent)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.timesentSpecified)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.title)
        </td>
        <td>

        </td>
    </tr>
}

</table>

<table>
    <tr>
        <th>
            message
        </th>
        <th>
            modifiedDate
        </th>
        <th>
            receiver
        </th>
        <th>
            sender
        </th>
        <th>
            sender_id
        </th>
        <th>
            timesent
        </th>
        <th>
            timesentSpecified
        </th>
        <th>
            title
        </th>
        <th></th>
    </tr>

@foreach (var item in Model.sentMessages) {
    <tr>
        <td>
            @Html.DisplayFor(modelItem => item.message)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.modifiedDate)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.receiver)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.sender)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.sender_id)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.timesent)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.timesentSpecified)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.title)
        </td>
        <td>

        </td>
    </tr>
}

</table>